
const webpack = require('webpack')

module.exports={
  runtimeCompiler: true,
  lintOnSave: false,
  css:{
    loaderOptions: {
      less: {
        lessOptions: {
          javascriptEnabled: true
        }
      }
    }, 
  },
  // 此处为重点相关配置项
  configureWebpack: {
    plugins: [
      new webpack.ProvidePlugin({
        $: "jquery",
        jQuery: "jquery",
        "windows.jQuery": "jquery"
      })
    ]
  }
}